package com.qianyu.project.web.controller.wyh.utils;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * author wyh
 * Date 2021/2/3
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public class Emp {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    private Integer deptId;

    private Integer postId;

    @TableField(exist = false)
    private String deptName;

    @TableField(exist = false)
    private String postName;
}
